package cn.wolfcode.luowowo.repository;

import cn.wolfcode.luowowo.domain.Region;
import org.springframework.data.domain.PageRequest;
import org.springframework.data.mongodb.repository.MongoRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * 目的地区域中间表 MongoDB数据的接口
 */
@Repository
public interface RegionRepository extends MongoRepository<Region, String> {
    List<Region> findByIshotOrderBySequence(int stateHot);
}
